package com.baicaoyuan.web.request.br;

import com.baicaoyuan.web.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "com.baicaoyuan.web.request.br.BCrowdfundingEditRequest", description = "编辑一个众筹")
public class BCrowdfundingEditRequest extends BaseRequest {

    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "名称", required = true)
    private String name;

    @ApiModelProperty(value = "图片", required = true)
    private String images;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "要求数量", required = true)
    private Long number;

    @ApiModelProperty(value = "每份金额", required = true)
    private BigDecimal price;

    @ApiModelProperty(value = "顺序", required = true)
    private String sort;
}
